//Rect.h - Class Rectanlge

#ifndef _RECT_H_
#define _RECT_H_

#include <iostream>
#include "Point.h"

using namespace std;

class Rect
{
	Point m_point;
	int m_length, m_width;
	bool m_IsFull;
	void drawRectFrame(char ch);
	void drawRectFill(char ch);
public:
	Rect();
	void setRect(int x, int y, unsigned int length, unsigned int width);
	void setRect(Point point, unsigned int length, unsigned int width);
	bool getRect();
	void drawRect(char ch, bool isFullFilling);
	bool isRectPoint(Point& point);
	void moveRectPoint(int incX, int incY);
	Rect(const Rect& rect);
	~Rect();
};

#endif

